package com.xteam.ecsystem.entities;


import java.io.Serializable;

/**
 * 用户购物券关联表
 * @author tangkf
 * @date 2013-12-04
 */
public class BaseMemeberCoupon implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 类名称
	 */
	public static final String REF="BaseMemeberCoupon";

	/**
	 * 关联ID 的属性名
	 */
	public static final String PROP_BMCID="bmcId";

	/**
	 * 用户ID 的属性名
	 */
	public static final String PROP_BMCMEMBER="bmcMember";

	/**
	 * 购物券ID 的属性名
	 */
	public static final String PROP_BMCCOUPON="bmcCoupon";

	/**
	 * 购物券名称 的属性名
	 */
	public static final String PROP_BMCNAME="bmcName";

	/**
	 * 购物券金额 的属性名
	 */
	public static final String PROP_BMCPRICE="bmcPrice";

	/**
	 * 购物券数量 的属性名
	 */
	public static final String PROP_BMCNUMBER="bmcNumber";

	/**
	 * 购物券图片 的属性名
	 */
	public static final String PROP_BMCPICURL="bmcPicurl";

	/**
	 * 关联ID
	 */
	private java.lang.String bmcId;

	/**
	 * 用户ID
	 */
	private java.lang.String bmcMember;

	/**
	 * 购物券ID
	 */
	private java.lang.String bmcCoupon;

	/**
	 * 购物券名称
	 */
	private java.lang.String bmcName;

	/**
	 * 购物券金额
	 */
	private java.lang.Double bmcPrice;

	/**
	 * 购物券数量
	 */
	private java.lang.Integer bmcNumber;

	/**
	 * 购物券图片
	 */
	private java.lang.String bmcPicurl;

	/**
	 * 获取 关联ID 的属性值
	 * @return bmcId : 关联ID
	 * @author tangkf
	 */
	public java.lang.String getBmcId(){
		return this.bmcId;
	}

	/**
	 * 设置 关联ID 的属性值
	 * @param bmcId : 关联ID
	 * @author tangkf
	 */
	public void setBmcId(java.lang.String bmcId){
		this.bmcId	= bmcId;
	}

	/**
	 * 获取 用户ID 的属性值
	 * @return bmcMember : 用户ID
	 * @author tangkf
	 */
	public java.lang.String getBmcMember(){
		return this.bmcMember;
	}

	/**
	 * 设置 用户ID 的属性值
	 * @param bmcMember : 用户ID
	 * @author tangkf
	 */
	public void setBmcMember(java.lang.String bmcMember){
		this.bmcMember	= bmcMember;
	}

	/**
	 * 获取 购物券ID 的属性值
	 * @return bmcCoupon : 购物券ID
	 * @author tangkf
	 */
	public java.lang.String getBmcCoupon(){
		return this.bmcCoupon;
	}

	/**
	 * 设置 购物券ID 的属性值
	 * @param bmcCoupon : 购物券ID
	 * @author tangkf
	 */
	public void setBmcCoupon(java.lang.String bmcCoupon){
		this.bmcCoupon	= bmcCoupon;
	}

	/**
	 * 获取 购物券名称 的属性值
	 * @return bmcName : 购物券名称
	 * @author tangkf
	 */
	public java.lang.String getBmcName(){
		return this.bmcName;
	}

	/**
	 * 设置 购物券名称 的属性值
	 * @param bmcName : 购物券名称
	 * @author tangkf
	 */
	public void setBmcName(java.lang.String bmcName){
		this.bmcName	= bmcName;
	}

	/**
	 * 获取 购物券金额 的属性值
	 * @return bmcPrice : 购物券金额
	 * @author tangkf
	 */
	public java.lang.Double getBmcPrice(){
		return this.bmcPrice;
	}

	/**
	 * 设置 购物券金额 的属性值
	 * @param bmcPrice : 购物券金额
	 * @author tangkf
	 */
	public void setBmcPrice(java.lang.Double bmcPrice){
		this.bmcPrice	= bmcPrice;
	}

	/**
	 * 获取 购物券数量 的属性值
	 * @return bmcNumber : 购物券数量
	 * @author tangkf
	 */
	public java.lang.Integer getBmcNumber(){
		return this.bmcNumber;
	}

	/**
	 * 设置 购物券数量 的属性值
	 * @param bmcNumber : 购物券数量
	 * @author tangkf
	 */
	public void setBmcNumber(java.lang.Integer bmcNumber){
		this.bmcNumber	= bmcNumber;
	}

	/**
	 * 获取 购物券图片 的属性值
	 * @return bmcPicurl : 购物券图片
	 * @author tangkf
	 */
	public java.lang.String getBmcPicurl(){
		return this.bmcPicurl;
	}

	/**
	 * 设置 购物券图片 的属性值
	 * @param bmcPicurl : 购物券图片
	 * @author tangkf
	 */
	public void setBmcPicurl(java.lang.String bmcPicurl){
		this.bmcPicurl	= bmcPicurl;
	}

	/**
	 * 转换为字符串
	 * @author tangkf
	 */
	public String toString(){
		return "{" + "bmcId(关联ID)=" + bmcId + "," +"bmcMember(用户ID)=" + bmcMember + "," +"bmcCoupon(购物券ID)=" + bmcCoupon + "," +"bmcName(购物券名称)=" + bmcName + "," +"bmcPrice(购物券金额)=" + bmcPrice + "," +"bmcNumber(购物券数量)=" + bmcNumber + "," +"bmcPicurl(购物券图片)=" + bmcPicurl + "}";
	}
	/**
	 * 转换为 JSON 字符串
	 * @author tangkf
	 */
	public String toJson(){
		return "{" + "bmcId:'" + bmcId + "'," +"bmcMember:'" + bmcMember + "'," +"bmcCoupon:'" + bmcCoupon + "'," +"bmcName:'" + bmcName + "'," +"bmcPrice:'" + bmcPrice + "'," +"bmcNumber:'" + bmcNumber + "'," +"bmcPicurl:'" + bmcPicurl + "'}";
	}
}